<!--
 * @Author: your name
 * @Date: 2022-02-12 08:34:34
 * @LastEditTime: 2022-02-12 14:28:52
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \gitCK\day-3\网易严选-人气推荐.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>人气推荐</title>
    <style>
        html,
        body{
            width: 1250px;
            margin: 0;
            padding: 0;
            color: #333;
        }
        .header{
            margin-top: 60px;
            padding-top: 60px;
        }
        .popularity{
            margin-bottom: 60px;
            height: 780px;
            background-color: #f4f0eb;
        }
        .header>.name{
            margin: 0px 20px 0px 100px; 
            padding-top: 0px;
            font-size: 28px;
            display: inline-block;
        }
        .header>.name:hover{
            color: #b1a07d;
            cursor: pointer;
        }
        .headerLeft{
            display: inline-block;
            margin: 10px 20px 10px 10px;
        }
        .headerLeft:hover{
            cursor: pointer;
            color: #b1a07d;
        }
        .checked{
            border-bottom:  2px solid;
            color: #b1a07d;
        }
        .headerRight {
            margin-top: 10px;
            display: inline-block;
            float: right;
        }
        .headerRight:hover {
            cursor: pointer;
            color: #b1a07d; 
        }
        .headerLeft,
        .headerRight{
            margin-right: 60px;
            font-size: 14px;
        }
        .product{
            margin-left: 100px;
        }
        #productItemFirst{
            margin-left: 0px;
            width: 390px;
            height: 570px;
        }
        #productItemFirst>img{
            border: 1px solid #b1a07d;
            margin: 40px 35px;
        }
        #productItemFirst>img:hover{
            width: 336px;
            height: 336px;
            cursor: pointer;
        }
        .productItem{
            margin-left: 10px;
            background-color: white;
            width: 223px;
            height: 280px;
            float: left;
        }
        .product>:nth-child(5),
        .product>:nth-child(6),
        .product>:nth-child(7){
            margin-top: 10px;
        }
        .title{
            width: 100%;
            text-align: center;
            border-top: 1px solid #f4f0eb;
        }
        .title>.name{
            margin: 40px 71px 13px 71px; 
            padding-top: 0px;
            font-size: 18px;
            display: inline-block;

        }
        .title>.name:hover{
            color: #b1a07d;
            cursor: pointer;
        }
        .title>.price{
            color: #D4282D;
            font-size: 18PX;
        }
    </style>
</head>
<body>
    <div class="popularity">
        <div class="header">
            <h3 class="name">人气推荐</h3>
            <div class="headerLeft checked" >编辑推荐</div>
            <div class="headerLeft">热销总榜</div>
            <div class="headerRight">更多推荐</div>
        </div>
        <div class="product">
            <div id="productItemFirst" class="productItem"><img src="https://yanxuan-item.nosdn.127.net/9bffbcd0b2d1ed384dfd21b3dfa5d2bc.png?type=webp&quality=95&thumbnail=320x320&imageView" alt="图片丢失">
                <div class="title">
                    <h4 class="name">3千年种植历史产区，甜糯板栗仁 50克</h4>
                    <p class="price">¥6</p>
                </div>
            </div>
            <div class="productItem">2</div>
            <div class="productItem">3</div>
            <div class="productItem">4</div>
            <div class="productItem">5</div>
            <div class="productItem">6</div>
            <div class="productItem">7</div>
        </div>
    </div>
</body>
</html>